import request from "../utils/request.js";

module.exports = {
	// /user/shop/getshopname
	api_getshopname(data){ return request.post('/user/shop/getshopname',data) },
	
	// 获取商品信息
	api_getonecolumn(data){ return request.post('/user/column/getonecolumn2',data) },
	
	// 添加购物车
	api_addshopcart(data){ return request.post('/user/shopcart/addshopcart',data) },
	
	// 获取文件下载数量    user/column/getcolumndownfilenologin
	api_getcolumndownfilenologin(data){ return request.post('/user/column/getcolumndownfilenologin',data) },
	
	// 获取目录
	api_getknowledgelist(data){ return request.post('/user/knowledge/getknowledgelist2',data) },
	
	// 收藏和取消
	api_addusercollect(data){ return request.post('/user/Collect/addusercollect',data) },
	
	api_delusercollect(data){ return request.post('/user/collect/delusercollect	',data) },
	
	// 获取评论
	api_getevaluate(data){ return request.post('/user/goods/getComment',data) },
	
	// 获取相关推荐
	api_getrandgoodslist(data) {  return request.post('/user/column/getrandgoodslist',data)   },
	
	// 获取文件列表
	api_getcolumndownfile(data) {  return request.post('/user/column/getcolumndownfile',data)   },
	
	// 获取近期直播聊天记录
	api_getchatcontent(data) {  return request.post('/user/livechat/getchatcontent',data)   },
	
	// 发消息
	api_sendlivemsg(data) {  return request.post('/user/livechat/sendlivemsg',data)   },
		
	// 免费课程
	api_getoneknowledge(data) {  return request.post('/user/knowledge/getoneknowledge',data)   },
	
	// 获取课程目录
	api_getknowledgelist2(data) {  return request.post('/user/knowledge/getknowledgelist2',data)   },
	
	
	
	// 查看更多直播
	api_getlivelist(data) {  return request.post('/user/live_course/getlivelist',data)   },
	api_getonelive(data) {  return request.post('/user/live_course/getonelive',data)   },
	
	
	
	
	// 查看更多 视频
	api_getcolumnlist(data) {  return request.post('/user/column/getcolumnlist',data)   },



	// 获取阿里token
	api_getstsvideotoken(data) {  return request.post('/user/user/getstsvideotoken',data)   },

	
	// 详情页
	api_getdetail(data) {  return request.post('/user/goods/detail',data)   },
	
	
	
	
	// 推荐课程
	api_recommend(data) {  return request.post('/user/goods/recommend',data)   }
	
	
	
	// 课程页详情
	// api_getoneknowledge(data) {  return request.post('/user/knowledge/getoneknowledge',data)   }
	
}